<style>
.fui-navbar,.fui-footer {
    z-index: 108;
}
</style>
<div class="fui-page fui-page-current page-goods-list">
<div class='fui-content' style="top:0">
<div class="fui-header searchtop" ng-init="get_data(pagedata.extradata,'getmaindata',{plugin:'jy_jdpm',action:'get_data',op:'member'})">
		<div class="fui-header-left">
			<img class="leftlogo" ng-src="{{tomedia(pagedata.pluginset.logo) || '../core/resource/images/nopic.jpg'}}"/>
		</div>
		<div class="fui-header-input">
			<div class="searchbar searchbar-active" style="margin-left:1.6rem">
				<div class="fui-cellone" style="padding:0;">
						 <div class="fui-cellone-info">
							<div class="search-input" style="height:1.6rem">
								<form action="javascript:return true">
								<i id="searchsub" class="icon icon-sousuo1 bold" ng-click="access_json('/goodslist/main/keyword='+pagedata.params.keyword)" style="line-height: 1.7rem;"></i>
								<input type="search" placeholder="输入关键字" class="search" ng-model="pagedata.params.keyword" style="height:1.6rem;border: 0;text-align: left; color: #999; font-size:0.6rem;border-radius: 1rem;" />
								</form>
							</div>
						 </div>
						 <div class="fui-cellone-remark noremark">
							<span style="margin-left:0.3rem;font-size: 0.75rem;" ng-click="access_json('/goodslist/main/keyword='+pagedata.params.keyword)">搜索</span>
						 </div>
				</div>
			</div>
		</div>
		<div class="fui-header-right" data-nomenu="true">
			<a href="javascript:;" ng-click="access_json('jy_jdpm/member.mysms/notice/isread=0')"><i class="icon jinyunicon icon-xiaoxi1" style="font-size:20px;color:#333"></i></a>
			<span ng-if="pagedata.extradata.getmaindata.smsnum>0"  style="position: absolute;top:0.5rem;left: 1.33rem;display: block;width: 0.33rem;height: 0.33rem;border-radius: 100%;background-color: red;color: #FFF;"></span>		</div>
</div>
<script language="javascript">
wx.ready(function () {
	$("#scancode").on('click',function () {
			wx.scanQRCode({
				needResult: 1, // 默认为0，扫描结果由微信处理，1则直接返回扫描结果，
				scanType: ["qrCode","barCode"], // 可以指定扫二维码还是一维码，默认二者都有
				success: function (res) {
							//无需返回结果！					
						}
			});
	});
});
</script> 
<div id="carousel-container" class="carousel slide" data-role="carousel" data-param-auto="true" ng-if="pagedata.pluginset.mobilehdps" style="margin-top:2.2rem">
	<div class="carousel-inner" role="listbox">
		<div ng-repeat="nav in pagedata.pluginset.mobilehdps" ng-class="{'item':1, 'active':$index==0}" >
			<a href="{{nav.url}}">
				<img ng-src="{{tomedia(nav.picurl) || '../core/resource/images/banner-1.jpg'}}" style="display: block; width: 100%; height: 100%;">
			</a>
		</div>
	</div>
	<style>
            .fui-swipe-page .fui-swipe-bullet {background: {background}; opacity: {opacity};}
            .fui-swipe-page .fui-swipe-bullet.active {opacity: 1;}
    </style>
	<div id="carousel-jinyun" class="fui-swipe-page" style="padding: 0 5px; bottom: 10px; ">
		<div class="fui-swipe-bullet" ng-repeat="nav in pagedata.pluginset.mobilehdps" ng-class="{'active':$index==0}" data-target="#carousel-container" data-slide-to="{{$index}}"></div>
	</div>
</div>
<script>
	require(['bootstrap', 'hammer'], function($, Hammer){
		$('#carousel-container').carousel();
		var mc = new Hammer($('#carousel-container').get(0));
		mc.on("panleft", function(ev) {
			$('#carousel-container').carousel('next');
		});
		mc.on("panright", function(ev) {
			$('#carousel-container').carousel('prev');
		});
	});
</script>

	<div ng-if="pagedata.notices" class="fui-notice">
		<div class="image"><img src="../core/resource/images/diy/hotdot.jpg"></div>
		<div class="icon"><i class="fa-volume-up" style="font-size: 0.7rem;"></i></div>
		<div class="text">
			<ul>
					<li ng-repeat="item in pagedata.notices">
						<a href="{{item.url}}">{{item.title}}</a>
					</li>
			</ul>
		</div>
	</div>
		<script type="text/javascript">
			function autoScroll(obj){
				$(obj).find("ul").animate({  
					marginTop : "-1rem"  
				},500,function(){  
					$(this).css({marginTop : "0px"}).find("li:first").appendTo(this);  
				})  
			}  
			$(function(){  
				setInterval('autoScroll(".fui-notice .text")',3000);
			}) 
		</script>

<div ng-if="pagedata.pluginset.bankuai1.length>0" class="fui-icon-group noborder col-4 radius" style="background: #ffffff">
    <a class="fui-icon-col external" ng-repeat="item in pagedata.pluginset.bankuai1" href="javascript:;" ng-click="access_json(item.action)" data-nocache="true">
            <div class="icon"><img src="{{tomedia(item.img) || '../core/resource/images/nopic.jpg'}}"></div>
            <div class="text" style="color: #666666;">{{item.title}}</div>
    </a>
</div>
<div class="fui-cube" ng-if="pagedata.pluginset.cube.length>0">
			<img ng-if="pagedata.pluginset.cube.length == 1" ng-src="{{tomedia(pagedata.pluginset.cube[0].image)}}" href="javascript:;" ng-click="access_json(pagedata.pluginset.cube[0].url)" />
			<div class="fui-cube-left" ng-if="pagedata.pluginset.cube.length > 1">
				<img ng-src="{{tomedia(pagedata.pluginset.cube[0].image)}}" href="javascript:;" ng-click="access_json(pagedata.pluginset.cube[0].url)" />
			</div>
			<div class="fui-cube-right" ng-if="pagedata.pluginset.cube.length > 1">
					<img ng-if="pagedata.pluginset.cube.length == 2" ng-src="{{tomedia(pagedata.pluginset.cube[1].image)}}" href="javascript:;" ng-click="access_json(pagedata.pluginset.cube[1].url)" />
					<div class="fui-cube-right1" ng-if="pagedata.pluginset.cube.length > 2">
						<img ng-src="{{tomedia(pagedata.pluginset.cube[1].image)}}" href="javascript:;" ng-click="access_json(pagedata.pluginset.cube[1].url)" />
					</div>
					<div class="fui-cube-right2" ng-if="pagedata.pluginset.cube.length > 2">
							<img ng-if="pagedata.pluginset.cube.length == 3" ng-src="{{tomedia(pagedata.pluginset.cube[2].image)}}" href="javascript:;" ng-click="access_json(pagedata.pluginset.cube[2].url)" />
							<div class="left" ng-if="pagedata.pluginset.cube.length > 3">
								<img ng-src="{{tomedia(pagedata.pluginset.cube[2].image)}}" href="javascript:;" ng-click="access_json(pagedata.pluginset.cube[2].url)" />
							</div>
							<div class="right" ng-if="pagedata.pluginset.cube.length == 4">
								<img ng-src="{{tomedia(pagedata.pluginset.cube[3].image)}}" href="javascript:;" ng-click="access_json(pagedata.pluginset.cube[3].url)" />
							</div>
					</div>
			</div>
</div>
	<div ng-if="pagedata.NewAuction.length>0" class="fui-noline" style="background:#fff">
		<div class="fui-cell">
				<div class="fui-cell-label"></div>
				<div class="fui-cell-text bold" style="font-size:0.8rem"> 热门拍卖</div>
				<div class="fui-cell-remark noremark" ng-click="access_json('/goodslist/')" ><i class="icon jinyunicon icon-icon-test"></i></div>
		</div>
	</div>
	<div ng-if="pagedata.NewAuction.length>0" class="fui-goods-group block" style="background:#fff;">
			<div ng-repeat="item in pagedata.NewAuction" class="fui-goods-item" style="margin:0.3rem 0;padding:0;">
				<div style="border:1px solid #f3f3f3;margin:0 0.1rem">
				<a ng-click="access_json('/detail//id='+item.id)" >
					<dl class="bidthe">
                                        <!--拍卖类型-->
										<dd ng-show="item.status_ing == 0" class="pm goodsuptime{{item.id}}">距离开拍：<span class="day">-</span><span class="dw">天</span><span class="hour">-</span><span class="dw">时</span><span class="minute">-</span><span class="dw">分</span><span class="second">-</span><span class="dw">秒</span></dd>
                                        <dd ng-show="item.status_ing == 1" class="jb goodsuptime{{item.id}}">距离结束：<span class="day">-</span><span class="dw">天</span><span class="hour">-</span><span class="dw">时</span><span class="minute">-</span><span class="dw">分</span><span class="second">-</span><span class="dw">秒</span></dd>
                                        <dd ng-show="item.status_ing == 2" class="spec">已经结束</dd>
                                        <!--拍卖类型-->
                    </dl>
					<div class="image" style="background-image: url('{{tomedia(item.image) ||'../core/resource/images/nopic.jpg'}}')">
						<div ng-show="item.total <=0" class="salez" style="background-image: url('{{tomedia(pagedata.shopset.shop.saleout)}}'); "></div>
					</div>
				</a>
				<div class="detail">
					<a href="javascript:;" ng-click="access_json(item.active.url || '/detail//id='+item.id)">
						<div class="name">
							<i class="fui-tag fui-tag-danger">竞价</i>
							{{item.pname}}
						</div>
					</a>
					<div class="price" style="margin-top: 0.3rem" href="javascript:;" ng-click="access_json('jy_jdpm/detail//id='+item.id)">
						<span class="text">￥ {{item.nowprice >0 ? item.nowprice : item.onset}}
						</span>
						<span class="text subtitle r">
							{{item.bidcount || '0'}}次出价
						</span>
					</div>
				</div>
				</div>
			</div>
	</div>
	<div class="fui-tab fui-tab-danger">
         <a ng-class="{'active': pagedata.upsp == 1}" href="javascript:;" ng-click="upsp(1);pagedata.upsp=1">热拍专场</a>
		 <a ng-class="{'active': pagedata.upsp == 3}" href="javascript:;" ng-click="upsp(3);pagedata.upsp=3">预展专场</a>
	</div>
	<div class="nav-wrap">
		<span ng-class="{'nav J_ping':1,'nav-cur':pagedata.cid == 0}" ng-click="getsplist(0);pagedata.isnew=1;pagedata.cid=0">全部</span>
		<span ng-repeat="nav in pagedata.channel" ng-class="{'nav J_ping':1,'nav-cur':pagedata.cid == nav.id}" ng-click="getsplist(nav.id);pagedata.isnew=1;pagedata.cid=nav.id">{{nav.title}}</span>
	</div>
	<div class="album-wrap" ng-if="pagedata.upsp == 1">
		<div class="album" ng-repeat="v in pagedata.splist" id="noWaitTime">
			<div class="album-up">
			<a ng-click="access_json('jy_jdpm/special.detail/','sid='+v.id)" class="J_ping">
				<div class="album-pic">
					<img ng-src="{{tomedia(v.spicture) || '../core/resource/images/nopic.jpg'}}"> 
					<div class="counter doing onBidtimei{{v.id}}" ng-if="v.status ==0">距离开始: 剩<span class="day">-</span><span class="dw">天</span><span class="hour">-</span><span class="dw">时</span><span class="minute">-</span><span class="dw">分</span><span class="second">-</span><span class="dw">秒</span></div>
					<div class="counter doing onBidtimei{{v.id}}" ng-if="v.status ==1">距离结束: 剩<span class="day">-</span><span class="dw">天</span><span class="hour">-</span><span class="dw">时</span><span class="minute">-</span><span class="dw">分</span><span class="second">-</span><span class="dw">秒</span></div> 
				</div> 
				<div class="album-info">
					<div class="album-top">
					<div class="album-tit">{{v.title}}专场</div> 
					<div class="album-bids">{{v.scount || 0}}次出价</div>
					</div>
				</div>
			</a>
			</div>
		</div>
	</div>
<style>

.special-auction {
  background-color: #fff;
}
.special-auction .special-auction-list {
  padding: 0 0.26rem;
}
.special-auction .special-auction-list .special-auction-item {
  border-radius: 0.15rem;
  padding-bottom: 0.26rem;
  overflow: hidden;
}
.special-auction .special-auction-list .img-box {
  position: relative;
}
.special-auction .special-auction-list .img-box a{
  width: 33%;
}
.special-auction .special-auction-list .img-box img {
  width: 100%;
}
.special-auction .special-auction-list .img-box .time {
  position: absolute;
  font-size: 0.22rem;
  height: 0.36rem;
  line-height: 0.36rem;
  background-color: #d0392a;
  padding: 0 0.18rem;
  bottom: 0.2rem;
  border-radius: 0 0.36rem 0.36rem 0;
  color: #fff;
}
.special-auction .special-auction-list .goods-info {
  background-color: #fff;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 1.05rem;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 0.2rem;
  border-radius: 0 0 0.15rem 0.15rem;
}
.special-auction .special-auction-list .goods-info .goods-name {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  font-size: 0.38rem;
  color: #423e34;
}
.special-auction .special-auction-list .goods-info .goods-count {
  font-size: 0.24rem;
  color: #423e34;
}
.category {
  padding: 0 0.26rem 0;
  background-color: #fff;
}
.category-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  background-color: #fff;
  padding-top: 0.3rem;
}
.category-list li {
  width: 1.6rem;
  width: 20%;
}
.category-list li img {
  width: 1rem;
  display: block;
  margin: 0 auto;
}
.category-list li .category-name {
  text-align: center;
  font-size: 0.28rem;
  color: #333333;
  padding: 0.15rem 0 0.25rem;
}
.bidthe{color: #fff;
    left: 0px;
    position: absolute;
}
.bidthe dd {
    background-color: #980000;
    border-radius: 0 0 5px 5px;
    float: left;
    font-size: 11px;
    margin: 0 0px 0 5px;
    padding: 1px 5px;
}
.bidthe dd.aone{background-color: #d23030;} 
.bidthe dd.spec{background-color: #d23030;}
.bidthe dd.meet{background-color: #d23030;}

.bidthe dd.ing{background-color: #d23030;} 
.bidthe dd.fut{background-color: #d23030;}
.bidthe dd.end{background-color: #d23030;}

.bidthe dd.pm{background-color: #d23030;}
.bidthe dd.jb{background-color: #d23030;}
.goods-name{width:100%;font-size:16px;font-weight:600;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;float:left;}
.goods-jg {width:100%;float:left;color:#666;font-size:12px;margin-top:10px}
.goods-right{width:30%;float:right;background:#fafafa;font-size:12px;padding-left:0;padding-right:0;}
.jp-top {background-color: #d23030;font-size:15px;font-weight:400;color:#fff;float:left;width:100%;text-align:center}
.nav-wrap {
	width:100%;
	background-color:#fff;
	padding:.3rem 0;
	overflow-y:hidden;
	overflow-x:scroll;
	white-space:nowrap;
	-webkit-overflow-scrolling:touch;
	animation:all .2s
}
.nav-wrap .nav {
	display:inline-block;
	margin:0 .2rem;
	font-size:.6rem;
	line-height:.12rem;
	color:#433e33;
	padding:0 .4rem
}
.nav-wrap .nav-cur {
	color:#cc2729;
	line-height:.8rem;
	position:relative;
	margin:0 .1rem 0 .4rem
}
.nav-wrap .nav-cur:after {
	content:"";
	position:absolute;
	top:0;
	left:0;
	width:200%;
	height:200%;
	box-sizing:border-box;
	transform:scale(.5);
	transform-origin:left top;
	border-radius:.43rem
}
.album {
	margin-bottom:.2rem;
	background-color:#fff
}
.album a {
	display:block
}
.album .album-pic {
	position:relative;
	height:5.5rem
}
.album .album-pic:after {
	content:"";
	position:absolute;
	left:3.4rem;
	bottom:-1px;
	width:1.4rem;
	height:.5rem;
	background:url(data:image/png;
	base64,iVBORw0KGgoAAAANSUhEUgAAAGkAAAAgCAYAAAAR1VaeAAAABGdBTUEAALGPC/xhBQAAAnpJREFUaAXtmj1PFFEUhnfAwEa22iBIYmf8CoHCWECnjcViZ6HBaKICNvBP+PgHmLiJna0dBqlIlI4gaOwwLAmlmt2oGZ5j7iRTDMvuzs6dnXPnJE/ucOfjnve8d+7MLlsoKAvf9y8pk1To0yYIPePaNOUmZcBRjSbdz0Dd3U2R59EYSFzWVAVtd9I9Y07QqvBKm0kV48qMCne0iWCJG4GGrHVEHUa0aNR0J73ClAFjzCDtghaTVOjgrinBEYRD/i6pEKhBBGashN0JbS9r0Jd5DRgyCX9CxoQ3pX8i8yKzLAADBuFT2JWIbdkvz6g80qgAxX8dYUpU13oa+Tk/Jk4sRbnRpG/R+aLZLABGPIa/TQyJ2iXPp0c283R2LAr9BNo1KDBNzpt1tng2hFPgF/AvqHiHrRj13Ea+To1BUS/AWoemnHXaKjv6nSpkUmIp5DB8OKvSMfs35PpJ5e7EdSngA/gR04jzTj/kgPxb83ZnFEUrw5vzqtvl/TJeud1cnTueIvXDS6hBGiFfysrLSf6sipp9FEaWtl3ohZA88iVQjKIQHlRgC3oxPpKU5OdFTSzVfYguwjzsQRZC8pyDYhrGWJ0hiLyDyKcgn/qz+Op7Qt5voep53mdaK5G4SRhzHSUP4RnctKLKziBfGKYK7zDsa5JDdt0ksyTcJWn55Y5wFbTHdwS+N2xiWr2bgmObhClXSGjKME17G1JZuxm3F0IM2oHtAEw7jJNYSyZhxEUGGYNrcANk2ZL2Fqj6tSh6kogaF5Xl8QD2TfuN9ggDf9M2DXkFlg9uMvMD5F/NQzBqEBNK0JKhHJdH6xXwOfQniInHhl+0DZA78j+nSrwUv1QqE5kAAAAASUVORK5CYII=) no-repeat;
	background-size:cover
}
.album .album-pic img {
	width:100%;
	height:5.5rem
}
.album .album-pic i.isIn618 {
	position:absolute;
	top:0;
	right:.2rem;
	width:.8rem;
	height:1.5rem;
	background:url(//img11.360buyimg.com/uba/jfs/t18436/204/2624933613/6041/3c19ff9d/5b04dfd5N9741a42e.png) no-repeat top/100% auto
}
.album .album-pic .counter {
	position:absolute;
	left:-.3rem;
	bottom:.4rem;
	padding:0 .2rem 0 .5rem;
	line-height:.82rem;
	border-radius:.6rem;
	font-size:.5rem;
	color:#fff
}
.album .album-pic .counter.nostart {
	background-color:#268e66
}
.album .album-pic .counter.doing {
	background-color:#cc2729
}
.album .album-pic .counter.end {
	background-color:#8a8a8a
}
.album .album-top {
	display:-ms-flexbox;
	display:-webkit-box;
	display:box;
	display:flex;
	box-pack:justify;
	-ms-flex-pack:justify;
	justify-content:space-between;
	-webkit-justify-content:space-between;
	box-align:start;
	-ms-flex-align:start;
	align-items:flex-start;
	-webkit-align-items:flex-start;
	padding:.3rem .2rem;
	color:#433e33
}
.album .album-top .album-tit {
	width:5rem;
	line-height:1rem;
	font-size:.6rem;
	font-weight:500;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap
}
.album .album-top .album-bids {
	line-height:1rem;
	font-size:.65rem
}
.album .album-bottom {
	padding:.4rem;
	overflow-y:hidden;
	overflow-x:scroll;
	white-space:nowrap
}
.album .album-bottom a img {
	width:1.41rem;
	height:1.41rem;
	margin-right:1px
}
.album .album-bottom a:first-child img {
	margin-left:-1px
}
.album .album-bottom a:last-child img {
	margin-right:0
}
.album .album-ad {
	position:relative
}
.album .album-ad img {
	width:100%;
	height:5rem
}
</style>
    <ul class="special-auction-list" ng-if="pagedata.upsp == 3">
			<div  class="special-auction-item" ng-repeat="v in pagedata.splist" href="javascript:;" ng-click="access_json('jy_jdpm/special.detail/','id='+v.id)">
                <div class="img-box row" style="margin-left:0;margin-right:-4px">
                    <a class="col-lg-4" style="padding:0 2px" ng-repeat="g in v.goods" ng-if="$index <=2">
						<dl class="bidthe">
                                        <!--拍卖类型-->
										<dd ng-show="g.status == 0" class="pm">还没开始</dd>
                                        <dd ng-show="g.status == 1" class="jb">正在拍卖</dd>
                                        <dd ng-show="g.status == 2" class="spec">已经结束</dd>
                                        <!--拍卖类型-->
                        </dl>
                        <img style="height:100px" ng-src="{{tomedia(g.image) || '../core/resource/images/nopic.jpg'}}" alt="">
                    </a>
                </div>
                <div class="row" style="margin-left:0;margin-right:0;padding-top:10px;">
					<div class="col-lg-8" style="width:70%;padding-left:3px;">
						<div class="goods-name" style="">{{v.title}}</div>
                        <div class="status" style="width:100%;float:left;color:#666;font-size:12px">
							<dd ng-if="v.status ==0" class="timeShowbox onBidtimei{{v.id}}" id="noWaitTime">
                                                距离开始：
                                                <span class="day">-</span>
                                                <span class="dw">天</span>
                                                <span class="hour">-</span>
                                                <span class="dw">时</span>
                                                <span class="minute">-</span>
                                                <span class="dw">分</span>
                                                <span class="second">-</span>
                                                <span class="dw">秒</span>
							</dd>
							<dd ng-if="v.status ==1" class="timeShowbox onBidtimei{{v.id}}" id="noWaitTime">
                                                距离结束：
                                                <span class="day">-</span>
                                                <span class="dw">天</span>
                                                <span class="hour">-</span>
                                                <span class="dw">时</span>
                                                <span class="minute">-</span>
                                                <span class="dw">分</span>
                                                <span class="second">-</span>
                                                <span class="dw">秒</span>
							</dd>
                                <span ng-if="v.status ==2" class="text" style="background-color: #CCC;">结束时间</span><span ng-if="v.status ==2">{{v.endtime2}}</span>
                            
                        </div>
                        <div class="goods-jg" style="">
							<span>送拍机构:</span>
							<em>{{v.merchname || '平台自营'}}</em>
                        </div>
					
					</div>
					<div class="goods-right col-lg-4">
						<span ng-if="v.status ==0" class="jp-top">未开始</span>
						<span ng-if="v.status ==1" class="jp-top">竞拍中</span>
						<span ng-if="v.status ==2" class="jp-top">已经结束</span>
						<span style="float:left;width:100%;text-align:center">累计出价</span>
						<span style="float:left;width:100%;text-align:center"><span style="color:#d23030;font-size:17px;font-weight:400;">{{v.scount}}</span>次</span>
					</div>
				</div>
			</div>
    </ul>
</section>
<section class="category" style="padding-top:10px;background:#f6f6f6">
	<div class="fui-line" style="background: {background};">
		<div class="text text-danger" style="color:#666;font-size: 14px;padding: 8px 6px;font-weight: 400;">{{pagedata.pluginset.title || '京东拍卖'}}</div>
	</div>
    <ul class="category-list" style="background:#f6f6f6">
            <li style="width:33%;color:#666;list-style:none;">
                <div style="width:100%;text-align: center;"> <i class="icon jinyunicon icon-tianmaotuihuobaozhangqia" style="font-size:32px"  alt=""></i></div>
                <p class="category-name" style="color:#666">如实描述承诺</p>
            </li>
			<li style="width:33%;color:#666;list-style:none;">
                 <div style="width:100%;text-align: center;"> <i class="icon jinyunicon icon-tianmaohuodaofukuan" style="font-size:32px" alt=""></i></div>
                <p class="category-name" style="color:#666">保证金保障</p>
            </li>
			<li style="width:33%;color:#666;list-style:none;">
                 <div style="width:100%;text-align: center;"> <i class="icon jinyunicon icon-tianmaoxianshihoumai" style="font-size:32px" alt=""></i></div>
                <p class="category-name" style="color:#666">售后服务保障</p>
            </li>
    </ul>
	<p style="text-align:center;font-size:0.56rem;color:#999">@ {{pagedata.account.cname || '某某拍卖有限科技公司'}}</p>
</section>
</div>
</div>
<div ng-include="sys_html('common/_menu')"></div>
<script>
    initScroll();
    function initScroll() {
        var ul = $('.head-line-con').find('ul');
        var scrollHeight = '18';
        var max = scope.pagedata.news.length;
        var num = 0;
        var timer = setInterval(function () {
            num++;
            if (num >= max) {
                num = 0;
            }
            ul.css({'top': -scrollHeight * num, 'transition': 'all 0.3s'});
        }, 2000)
    }
</script>
<script type="text/javascript">
for (var i = 1; i < 100; i++){
  window.clearInterval(i);
}
scope.loading = true;  //状态标记
scope.pagedata.isnew = 1;
scope.pagedata.upsp = 1;
scope.pagedata.status = 1;
scope.pagedata.pidindex = 0;
scope.pagedata.cid = 0;
scope.pagedata.splist = [];
scope.pagedata.page = 1;
scope.getsplist=function(cid,status,upsp,isup){
		var status = upsp ? upsp : scope.pagedata.status;
		//var cid = cid ? cid:scope.pagedata.cid;
		if(scope.pagedata.upcid != cid || isup){
			scope.pagedata.splist = [];
			scope.pagedata.page = 1;
			for (var i = 1; i < 100; i++){
			  window.clearInterval(i);
			}
		}
		var page = scope.pagedata.page;
		console.log(page);
		var params = {
					'plugin':'jy_jdpm',
					'action':'special.index',
					'op':'getlist',
					'query':'&cid='+cid+'&status='+status+'&page='+page,
					'callback':function(data){
						console.log(data)
							if(data.splist){
							 for (var i=0;i<data.splist.length;i++){
									scope.pagedata.splist.push(data.splist[i]);
								}
								if(page >1){
									$(".special-auction-item").animate({scrollTop:0},300);
								}
								scope.pagedata.page++;
								scope.loading = false;
								scope.pagedata.isnew = 0;
								scope.pagedata.upcid = cid;
								scope.$evalAsync();
								setTimeout('uptime()',1000);
							}else{
								console.log('error');
							};
					}
		}
		scope.post_json(params);
}
//滚动加载
window.addEventListener('scroll', function () {
	 var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop;
     if(scrollTop > window.innerHeight){
		//alert('欢迎浏览！');
       // scope.loading = true;  //状态标记		
		scope.showgotop =true;
		scope.$evalAsync();
		//setTimeout('scope.getsplist()',2000);
     }else{
		scope.showgotop =false;
		scope.$evalAsync();
	 }
})
//滚动加载

scope.upsp=function(upsp){
	scope.pagedata.page = 1;
	scope.pagedata.splist = [];
	scope.getsplist('','',upsp,1);
}
scope.getsplist();
if(scope.pagedata.isnew = 1){
	var page =1;
	scope.pagedata.list = [];
}
</script>

<script>
function uptime(){
	var splist = scope.pagedata.splist;
	var goods = scope.pagedata.NewAuction;
	var ntime = scope.pagedata.ntime;
	for (var i = 0; i < splist.length; i++) {
		var key =splist[i].id
		var endtime = splist[i].endtime
		endDown(endtime, ntime, ".onBidtimei"+key, ".onBidtimei"+key+" .day", ".onBidtimei"+key+" .hour", ".onBidtimei"+key+" .minute", ".onBidtimei"+key+" .second", ".onBidtimei"+key+" .msec");
	}
	for (var i = 0; i < goods.length; i++) {
		console.log(i);
		var key =goods[i].id
		var endtime = goods[i].endtime
		endDown(endtime, ntime, ".goodsuptime"+key, ".goodsuptime"+key+" .day", ".goodsuptime"+key+" .hour", ".goodsuptime"+key+" .minute", ".goodsuptime"+key+" .second", ".goodsuptime"+key+" .msec");
	}
}

function showTime(tuanid, time_distance) {
        this.tuanid = tuanid;
        //PHP时间是秒，JS时间是微秒
        this.time_distance = time_distance * 1000 - new Date().getTime();
}

showTime.prototype.setTimeShow = function () {
        var timer = this.tuanid;
        var str_time;
        var int_day, int_hour, int_minute, int_second;
        time_distance = this.time_distance;
        this.time_distance = this.time_distance - 1000;
        if (time_distance > 0) {
            int_day = Math.floor(time_distance / 86400000);
            time_distance -= int_day * 86400000;
            int_hour = Math.floor(time_distance / 3600000);
            time_distance -= int_hour * 3600000;
            int_minute = Math.floor(time_distance / 60000);
            time_distance -= int_minute * 60000;
            int_second = Math.floor(time_distance / 1000);
            if (int_hour < 10)
                int_hour = "0" + int_hour;
            if (int_minute < 10)
                int_minute = "0" + int_minute;
            if (int_second < 10)
                int_second = "0" + int_second;
            str_time = int_day + "天" + int_hour + "小时" + int_minute + "分钟" + int_second + "秒";
            timer.text(str_time);
            var self = this;
            setTimeout(function () {
                self.setTimeShow();
            }, 1000); //D:正确
        } else {
            timer.hide();
            return;
        }
}
// 结束倒计时
function endDown(etime, ntime, boxobj, day_elem, hour_elem, minute_elem, second_elem, msec_elem) {
    var now_time = new Date(ntime * 1000);
    var end_time = new Date(etime * 1000);
	
    var native_time = new Date().getTime();     //本地时间
    var now_cha = now_time - native_time;       //服务器和本地时间差
    var native_end_time = end_time - now_cha;   //本地结束时间
    var sys_second = 0;

    endDowntimer = setInterval(function () {
        // 检查本地时间是否更改
        sys_second = (native_end_time - new Date().getTime()) / 100; //本地结束剩余时间
        sys_second -= 1;
		if (sys_second <= 0) {
            clearInterval(endDowntimer);
			var params = {
					'plugin':'jy_jdpm',
					'action':'upplan',
					'op':'createOrder',
					'data':{
						'pid':scope.pagedata.info.pid,
					},
					'callback':function(data){
							if(data=='success'){
								scope.confirm('恭喜您已成功获得拍品，请及时前往支付！过期支付可能要缴纳违约金哦!','jy_jdpm/member.order/');
							}else{
								onsole.log('error');
							};
					}
			}
			scope.post_json(params);
		}
        var day = Math.floor((sys_second / 36000) / 24);
        var hour = Math.floor((sys_second / 36000) % 24);
        var minute = Math.floor((sys_second / 600) % 60);
        var second = Math.floor((sys_second / 10) % 60);
        var msec = Math.floor(sys_second % 10); //毫秒

        day = day >= 0 ? day : 0;
        hour = hour >= 0 ? hour : 0;
        minute = minute >= 0 ? minute : 0;
        second = second >= 0 ? second : 0;
        msec = msec >= 0 ? msec : 0;

        day_elem && $(day_elem).text(day);//计算天
        $(hour_elem).text(hour < 10 ? "0" + hour : hour);//计算小时
        $(minute_elem).text(minute < 10 ? "0" + minute : minute);//计算分
        $(second_elem).text(second < 10 ? "0" + second : second);// 计算秒
        $(msec_elem).text(msec);// 计算秒的1/10
        native_time = new Date().getTime();
    }, 100);
}

// 校准结束时间
function calibrationEndtime(etime, ntime) {
    clearInterval(endDowntimer);
    endDown(etime, ntime, ".onBidtime", ".onBidtime .day", ".onBidtime .hour", ".onBidtime .minute", ".onBidtime .second", ".onBidtime .msec");
}

// 开始时间倒计时
function startDown(stime, ntime, boxobj, day_elem, hour_elem, minute_elem, second_elem, msec_elem) {
    var now_time = new Date(ntime * 1000);
    var end_time = new Date(stime * 1000);
    var native_time = new Date().getTime(); //本地时间
    var now_cha = now_time - native_time; //服务器和本地时间差
    var native_end_time = end_time - now_cha; //本地结束时间
    var sys_second = 0;
    startDowntimer = setInterval(function () {
        // if (Math.abs(native_time - new Date().getTime()) > 5000) {
        //     clearInterval(startDowntimer);
        //     $.post(ajaxGetTime, {'pid': Pid}, function (data) {
        //         calibrationStarttime(data.starttime, data.nowtime);
        //     });
        // }
        sys_second = (native_end_time - new Date().getTime()) / 100; //本地结束剩余时间
        if (sys_second > 0) {
            sys_second -= 1;
            var day = Math.floor((sys_second / 36000) / 24);
            var hour = Math.floor((sys_second / 36000) % 24);
            var minute = Math.floor((sys_second / 600) % 60);
            var second = Math.floor((sys_second / 10) % 60);
            var msec = Math.floor(sys_second % 10); //毫秒
            day_elem && $(day_elem).text(day);//计算天
            $(hour_elem).text(hour < 10 ? "0" + hour : hour);//计算小时
            $(minute_elem).text(minute < 10 ? "0" + minute : minute);//计算分
            $(second_elem).text(second < 10 ? "0" + second : second);// 计算秒
            $(msec_elem).text(msec);// 计算秒的1/10
            native_time = new Date().getTime();
        } else {
            // $('.noStartBidTbox .th').html('拍卖已开始');
            // $(boxobj).html('<div class="into">正在进入拍卖...</div>');

            clearInterval(startDowntimer);
            window.location.href = window.location.href + "?id=" + 10000 * Math.random();
        }
    }, 100);
}

// 校准开始时间
function calibrationStarttime(stime, ntime) {
    clearInterval(startDowntimer);
    startDown(stime, ntime, ".noStartTime", ".noStartTime .day", ".noStartTime .hour", ".noStartTime .minute", ".noStartTime .second", ".noStartTime .msec");
}
window.addEventListener('scroll', function () {
	 if(document.documentElement.scrollTop > window.innerHeight){
        scope.gotop = true;  //状态标记
		scope.$evalAsync();
	 }else{
		scope.gotop = false;  //状态标记
		scope.$evalAsync();
	 }
})
//手机软键盘--搜索
$("body").keydown(function() {
    if (event.keyCode == "13") {
        $('#searchsub').click();
    }
});
</script>


</div>